#pragma once

#include <iostream>

namespace FA_TL {

/**
 * @brief 模板关系类，用于表示模板间的引用关系
 */
class TemplateRelation {
   public:
    // 数据库表名
    static constexpr const char* tableName = "tl_relation";

    // 数据库字段
    int64_t id = 0;
    int _order = 0;
    int64_t treeNodeId = 0;
    int treeNodeVersion = 0;
    int64_t referenceId = 0;
    int referenceVersion = 0;
    int count = 0;
    bool deleteFlag = false;

   public:
    TemplateRelation() = default;
    ~TemplateRelation() = default;
};

}  // namespace FA_TL
